package com.yjk.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yjk.common.utils.PageUtils;
import com.yjk.mall.product.entity.AttrEntity;
import com.yjk.mall.product.entity.AttrGroupEntity;
import com.yjk.mall.product.vo.AttrGroupResVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author yjk
 * @email jk.ye@qq.com
 * @date 2020-06-10 12:16:20
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    List<AttrEntity> queryRelation(Long attrGroupId);


    PageUtils queryNoRelation(Map<String, Object> params, Long attrGroupId);

    List<AttrGroupResVo> withAttr(Long catelogId);
}

